package com.example.forum.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.forum.entity.TSensitivewords;
import com.example.forum.vo.ImportFileReturnDto;
import com.example.forum.vo.SenctiveWordsDto;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author why
 * @since 2020-04-22
 */
public interface ITSensitivewordsService extends IService<TSensitivewords> {

    boolean insertTSensitiveWords(TSensitivewords tSensitivewords);

    boolean deleteSensitiveWords(SenctiveWordsDto senctiveWordsDto, String s);

    ImportFileReturnDto importExcel(MultipartFile file, String s);
}
